<?php
session_start();
include 'init.php';
?>
<html>
    <head>
        <title>sms.3490.dk</title>
        <meta http-equiv="content-type" content="text/html; charset=utf8" />
        <link href="http://sms.3490.dk/style.css" rel="stylesheet" type="text/css"/>
        <?php
        if ($cmd == "smsstatus") {
            //print "<meta http-equiv='refresh' content='20'>";
        }
        ?>
    </head>
    <body>
        <div id="body" style="position:absolute; top:116px; left:20px; width: 960px;">
            <?php
            if ($cmd == "login") {
                include "login.php";
            } elseif ($cmd == "receivers") {
                include "receivers.php";
            } elseif ($cmd == "receiverformupdate") {
                include "receiverformupdate.php";
            } elseif ($cmd == "receiverforminsert") {
                include "receiverforminsert.php";
            } elseif ($cmd == "sms2oneform") {
                include "sms2oneform.php";
            } elseif ($cmd == "sms2allform") {
                include "sms2allform.php";
            } elseif ($cmd == "smsstatus") {
                include "smsstatus.php";
            } else {
                include "receivers.php";
            }
            //print $_SESSION['listid'];
            ?>
        </div>
        <div id="banner"
             style="	position:absolute;
             left:0px; top:0px; height:96px; width:1000px;
             background:url(http://sms.3490.dk/banner.jpg);
             background-position:center;
             background-repeat:no-repeat;">
        </div>
        <div id="topmenu"
             style="	position:absolute;
             left:20px; top:96px; height:20px; width:960px;
             background-color:#939393; padding-left:2px; padding-top:3px;">
            <?php include "menu.php"; ?>
        </div>
    </body>
</html>
